/*******************************************************************************
 * Copyright (c) 2012, G. Weirich and Elexis
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    G. Weirich - initial implementation
 *******************************************************************************/

package ch.elexis.easy.ui;

import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Composite;

import ch.elexis.core.data.ICustomer;
import ch.elexis.easy.ui.widgets.BoundText;

public class PatientDetailPanel extends Composite {
	public PatientDetailPanel(Composite parent){
		super(parent, SWT.NONE);
		setLayout(new GridLayout());
		BoundText btName = new BoundText(parent, ICustomer.FLD_NAME1, "[ab]*");
		GridData gd = new GridData(GridData.FILL, GridData.FILL, true, false);
		btName.getWidget().setLayoutData(gd);
	}
}
